package com.erp.erp_ui.money.vo;

import java.math.BigDecimal;

/**
 * @ClassName : PaymentDetailInfoVo
 * @Description : 付款明细出参实体
 * @Author : lst
 * @Date: 2021-04-04 20:54
 */
public class PaymentDetailInfoVo {

    /**
     * 主键id
     */
    private Integer id;
    /**
     * 付款主表id
     */
    private Integer parentId;
    /**
     * 发票编号
     */
    private String invoiceNumber;
    /**
     * 合同编号
     */
    private String contractNo;
    /**
     * 采购单号
     */
    private String purchaseNo;
    /**
     * 付款类型(编码)
     */
    private String typeCode;
    /**
     * 付款类型(名称)
     */
    private String typeName;
    /**
     * 承担人名称
     */
    private String berPersonName;
    /**
     * 承担人编码
     */
    private String berPersonCode;
    /**
     * 应付金额
     */
    private BigDecimal amountsPayable;
    /**
     * 申请金额
     */
    private BigDecimal applicationAmount;
    /**
     * 申请合计
     */
    private BigDecimal totalApplication;
    /**
     * 索赔金额
     */
    private BigDecimal claimAmount;
    /**
     * 已分摊金额
     */
    private BigDecimal allocatedAmount;
    /**
     * 未分摊金额
     */
    private BigDecimal unallocatedAmount;
    /**
     * 采购已付款金额
     */
    private BigDecimal purchasePaidAmount;
    /**
     * 采购合同总额
     */
    private BigDecimal totalPurchaseAmount;
    /**
     * 发票合同总额
     */
    private BigDecimal totalInvoiceAmount;
    /**
     * 发票已付款金额
     */
    private BigDecimal invoicePaidAmount;
    /**
     * 外销已收款金额
     */
    private BigDecimal saleAmountReceived;
    /**
     * 特殊备注
     */
    private String specialNote;
    /**
     * 出运日期
     */
    private String carryDate;
    /**
     * 客户代码
     */
    private String customerCode;
    /**
     * 供应商账期
     */
    private String supplierAccountPeriod;
    /**
     * 外销客户账期
     */
    private String saleAccountPeriod;
    /**
     * 价格术语
     */
    private String priceTermsName;
    /**
     * 是否含税(1:含税出厂价2:未税出厂价3:含税FOB价4:未税FOB价)
     */
    private Integer isTaxIncluded;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getBerPersonName() {
        return berPersonName;
    }

    public void setBerPersonName(String berPersonName) {
        this.berPersonName = berPersonName;
    }

    public String getBerPersonCode() {
        return berPersonCode;
    }

    public void setBerPersonCode(String berPersonCode) {
        this.berPersonCode = berPersonCode;
    }

    public BigDecimal getAmountsPayable() {
        return amountsPayable;
    }

    public void setAmountsPayable(BigDecimal amountsPayable) {
        this.amountsPayable = amountsPayable;
    }

    public BigDecimal getApplicationAmount() {
        return applicationAmount;
    }

    public void setApplicationAmount(BigDecimal applicationAmount) {
        this.applicationAmount = applicationAmount;
    }

    public BigDecimal getTotalApplication() {
        return totalApplication;
    }

    public void setTotalApplication(BigDecimal totalApplication) {
        this.totalApplication = totalApplication;
    }

    public BigDecimal getClaimAmount() {
        return claimAmount;
    }

    public void setClaimAmount(BigDecimal claimAmount) {
        this.claimAmount = claimAmount;
    }

    public BigDecimal getAllocatedAmount() {
        return allocatedAmount;
    }

    public void setAllocatedAmount(BigDecimal allocatedAmount) {
        this.allocatedAmount = allocatedAmount;
    }

    public BigDecimal getUnallocatedAmount() {
        return unallocatedAmount;
    }

    public void setUnallocatedAmount(BigDecimal unallocatedAmount) {
        this.unallocatedAmount = unallocatedAmount;
    }

    public BigDecimal getPurchasePaidAmount() {
        return purchasePaidAmount;
    }

    public void setPurchasePaidAmount(BigDecimal purchasePaidAmount) {
        this.purchasePaidAmount = purchasePaidAmount;
    }

    public BigDecimal getTotalPurchaseAmount() {
        return totalPurchaseAmount;
    }

    public void setTotalPurchaseAmount(BigDecimal totalPurchaseAmount) {
        this.totalPurchaseAmount = totalPurchaseAmount;
    }

    public BigDecimal getTotalInvoiceAmount() {
        return totalInvoiceAmount;
    }

    public void setTotalInvoiceAmount(BigDecimal totalInvoiceAmount) {
        this.totalInvoiceAmount = totalInvoiceAmount;
    }

    public BigDecimal getInvoicePaidAmount() {
        return invoicePaidAmount;
    }

    public void setInvoicePaidAmount(BigDecimal invoicePaidAmount) {
        this.invoicePaidAmount = invoicePaidAmount;
    }

    public BigDecimal getSaleAmountReceived() {
        return saleAmountReceived;
    }

    public void setSaleAmountReceived(BigDecimal saleAmountReceived) {
        this.saleAmountReceived = saleAmountReceived;
    }

    public String getSpecialNote() {
        return specialNote;
    }

    public void setSpecialNote(String specialNote) {
        this.specialNote = specialNote;
    }

    public String getCarryDate() {
        return carryDate;
    }

    public void setCarryDate(String carryDate) {
        this.carryDate = carryDate;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getSupplierAccountPeriod() {
        return supplierAccountPeriod;
    }

    public void setSupplierAccountPeriod(String supplierAccountPeriod) {
        this.supplierAccountPeriod = supplierAccountPeriod;
    }

    public String getSaleAccountPeriod() {
        return saleAccountPeriod;
    }

    public void setSaleAccountPeriod(String saleAccountPeriod) {
        this.saleAccountPeriod = saleAccountPeriod;
    }

    public Integer getIsTaxIncluded() {
        return isTaxIncluded;
    }

    public void setIsTaxIncluded(Integer isTaxIncluded) {
        this.isTaxIncluded = isTaxIncluded;
    }

    public String getPriceTermsName() {
        return priceTermsName;
    }

    public void setPriceTermsName(String priceTermsName) {
        this.priceTermsName = priceTermsName;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PaymentDetailInfoVo").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",invoiceNumber=")
                .append(invoiceNumber)
                .append(",contractNo=")
                .append(contractNo)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",typeCode=")
                .append(typeCode)
                .append(",typeName=")
                .append(typeName)
                .append(",berPersonName=")
                .append(berPersonName)
                .append(",berPersonCode=")
                .append(berPersonCode)
                .append(",amountsPayable=")
                .append(amountsPayable)
                .append(",applicationAmount=")
                .append(applicationAmount)
                .append(",totalApplication=")
                .append(totalApplication)
                .append(",claimAmount=")
                .append(claimAmount)
                .append(",allocatedAmount=")
                .append(allocatedAmount)
                .append(",unallocatedAmount=")
                .append(unallocatedAmount)
                .append(",purchasePaidAmount=")
                .append(purchasePaidAmount)
                .append(",totalPurchaseAmount=")
                .append(totalPurchaseAmount)
                .append(",totalInvoiceAmount=")
                .append(totalInvoiceAmount)
                .append(",invoicePaidAmount=")
                .append(invoicePaidAmount)
                .append(",saleAmountReceived=")
                .append(saleAmountReceived)
                .append(",specialNote=")
                .append(specialNote)
                .append(",carryDate=")
                .append(carryDate)
                .append(",customerCode=")
                .append(customerCode)
                .append(",supplierAccountPeriod=")
                .append(supplierAccountPeriod)
                .append(",saleAccountPeriod=")
                .append(saleAccountPeriod)
                .append(",priceTermsName=")
                .append(priceTermsName)
                .append(",isTaxIncluded=")
                .append(isTaxIncluded)
                .append(']');
        return sb.toString();
    }
}
